/** @type {import("@rspack/core").LoaderDefinition} */
module.exports = function (content) {
	return (
		"module.exports = " +
		JSON.stringify({
			resourceQuery: this.resourceQuery,
			query: this.query,
			prev: content.replace(/\r\n?/g, "\n")
		})
	);
};
